home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_09 / tm.asm < prev    next >
Assembly Source File  |  1995-01-01  |  1KB  |  32 lines

  1. ; ****************************************************************
  2. ; ** Program : Tm.asm                                           **
  3. ; ** Type    : Interface                                        **
  4. ; ** Module  : ADLPLAY.BAS                                      **
  5. ; ** Purpose : Basic Interface To Adlib Sound Driver            **
  6. ; ** Language: Compiled with Masm 5.0                           **
  7. ; ** Useage  : Call With Function Number in Si                  **
  8. ;              ES:Bx Will point the way to the other arguments  **
  9. ; ****************************************************************
  10. ; Note This Module is as simple as possible for 2 reasons.
  11. ; 1. It is easy to understand.
  12. ; 2. I had to write assembler .... ugh
  13. ;
  14. ;
  15.  
  16. .MODEL MEDIUM,C
  17.  
  18.          .CODE
  19.           PUBLIC soundcard
  20. soundcard         PROC  arg1:word,arg2:word,arg3:word,arg4:word,arg5:word,arg6:word
  21.  
  22.           mov   bx,arg1
  23.           mov   si,bx
  24.           lea   bx,arg2
  25.           push  SS
  26.           pop   ES
  27.           int 65h
  28.           ret
  29.  
  30. soundcard         endp
  31.           end
  32.